package ynu.edu.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import ynu.edu.po.Course;

import java.util.List;

@Repository
public interface ICourseDao extends CrudRepository<Course, Long> {
    List<Course> findCoursesByCouName(String couName);
}
